package org.saasplay.resource;

import com.alibaba.fastjson.JSONObject;

/**
 * 票据基础类
 * <p>
 * All the underlying request data needs to be
 * implemented with interface Tickets
 *
 * @author cuishifeng
 * @date 2020-01-16
 */
public interface Tickets {

    /**
     * 返回票据
     *
     * @param clazz
     * @return
     */
    <T> T getTickets(Class<T> clazz);

    /**
     * 设置票据
     *
     * @param jsonObject
     */
    void setTickets(JSONObject jsonObject);

}
